let routes = [{
		path: '/',
		name: 'Home',
		component: () => import('../views/home/index.vue'),
		meta: {
			title: "首页",
			keepAlive:false,
		}
	},
	{
			path: '/home/index',
			name: 'Home',
			component: () => import('../views/home/index.vue'),
			meta: {
				title: "首页",
				keepAlive:false,
			}
		},{
			path: '/home/location',
			name: 'location',
			component: () => import('../views/home/location.vue'),
			meta: {
				title: "地图选择",
			}
		},
	{
		path: '/test/test1',
		name: '测试页面1',
		component: () => import('../views/test/test1.vue'),
		meta: {
			title: "测试页面1",
			keepAlive:false,
		}
	},
	{
		path: '/test/test2',
		name: '测试页面2',
		component: () => import('../views/test/test2.vue'),
		meta: {
			title: "测试页面2",
			keepAlive:false,
		}
	}
];

routes.push({
	path: '/404', // 页面不存在的情况下会跳到404页面
	name: 'notFound',
	component: () => import('../views/error/404.vue'),
	hidden: true
});
export default routes
